-- GENERATED SPELL FOR [Infernal Soul] --


function spell0_19757(pUnit, Event) --@Fire Nova,Self--
pUnit:FullCastSpellOnTarget(11969,pUnit)
pUnit:RegisterEvent('Sorts_19757', 2000, 1)
end

function Sorts_19757(pUnit, Event)
local choix_sorts_19757 = math.random(0, 0)
if choix_sorts_19757 == 0 then
pUnit:RegisterEvent('spell0_19757', 1, 1)
end
end

function mob19757_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19757', math.random(1500, 3000), 1)
end

function mob19757_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19757_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19757_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19757, 1, 'mob19757_Action')
RegisterUnitEvent(19757, 2, 'mob19757_Leave')
RegisterUnitEvent(19757, 3, 'mob19757_Kill')
RegisterUnitEvent(19757, 4, 'mob19757_Die')
